To download the full code sample see our Code Share site.
Once a transaction has been completed, you can automatically deliver the signed documents to your signers. The following code will do this:
DocumentPackage superDuperPackage = newPackageNamed(getPackageName()) .withSigner(newSignerWithEmail("[email protected]") .withFirstName("John") .withLastName("Smith") .deliverSignedDocumentsByEmail() ) .withDocument(newDocumentWithName("First Document") .fromStream( documentInputStream1, DocumentType.PDF ) .withSignature(signatureFor("[email protected]") .onPage(0) .atPosition(100, 100))) .build();
Results
Once you've sent your package for signing and the transaction, each of your signers will receive an emails with a link to the signed documents.
To download the full code sample see our Code Share site.
Once a transaction has been completed, you can automatically deliver the signed documents to your signers. The following code will do this:
DocumentPackage package = PackageBuilder.NewPackageNamed(PackageName) .DescribedAs("This is a new package") .WithSigner(SignerBuilder.NewSignerWithEmail(email1) .WithFirstName("John") .WithLastName("Smith") .DeliverSignedDocumentsByEmail()) .WithDocument(DocumentBuilder.NewDocumentNamed("My Document") .FromStream(fileStream1, DocumentType.PDF) .WithSignature(SignatureBuilder.SignatureFor(email1) .OnPage(0) .AtPosition(100, 100))) .Build();
Results
Once you've sent your package for signing and the transaction, each of your signers will receive an emails with a link to the signed documents.
To download the full code sample see our Code Share site.
Once a transaction has been completed, you can automatically deliver the signed documents to your signers. The following code will do this:
HTTP Request
POST /api/packages/{packageId}/roles
HTTP Headers
Accept: application/json Content-Type: application/json Authorization: Basic api_key
Request Payload
{ "id": "Signer5", "reassign": true, "type": "SIGNER", "signers": [ { "email": "[email protected]", "firstName": "John", "lastName": "Smith", "id": "Signer5", "delivery": { "email": true, "download": true, "provider": true } } ], "name": "Signer5" }
For a complete description of each field, see the Request Payload table below.
Response Payload
{ "id": "Signer5", "data": null, "specialTypes": [], "emailMessage": null, "attachmentRequirements": [], "locked": false, "reassign": true, "index": 0, "signers": [ { "group": null, "language": "en", "signature": null, "id": "Signer5", "delivery": { "provider": true, "email": true, "download": true }, "auth": { "scheme": "NONE", "challenges": [] }, "knowledgeBasedAuthentication": null, "data": null, "title": "", "company": "", "email": "[email protected]", "firstName": "John", "lastName": "Smith", "external": null, "updated": "2017-11-16T16:53:01Z", "phone": "", "professionalIdentityFields": [], "userCustomFields": [], "address": null, "created": "2017-11-16T16:53:01Z", "name": "", "specialTypes": [] } ], "name": "Signer5", "type": "SIGNER" }
Results
Once you've sent your package for signing and the transaction, each of your signers will receive an emails with a link to the signed documents.
Request Payload Table
Property | Type | Editable | Required | Default | Sample Values |
---|---|---|---|---|---|
id | string | Yes | No | n/a | Signer5 |
reassign | boolean | Yes | No | false | true / false |
name | string | Yes | No | n/a | Signer5 |
id | string | Yes | No | n/a | Signer5 |
type | string | Yes | No | SIGNER | SIGNER / SENDER |
signers | |||||
string | Yes | No | n/a | [email protected] | |
firstName | string | Yes | No | n/a | John |
lastName | string | Yes | No | n/a | Smith |
id | string | Yes | No | n/a | Signer5 |
delivery | |||||
boolean | Yes | No | false | true / false | |
download | boolean | Yes | No | false | true / false |
provider | boolean | Yes | No | false | true / false |
To download the full code sample see our Code Share site.
Once a transaction has been completed, you can automatically deliver the signed documents to your signers. The following code will do this:
ESignLiveAPIObjects.Role role = new ESignLiveAPIObjects.Role(); ESignLiveAPIObjects.Signer signer = new ESignLiveAPIObjects.Signer(); signer.firstName = 'firstName'; signer.lastName = 'lastName'; signer.email = '[email protected]'; signer.name = 'signer1'; signer.id = 'signer1'; signer.delivery = new ESignLiveAPIObjects.Delivery(true,true,true); //Boolean download, Boolean email, Boolean provider role.signers = new List<ESignLiveAPIObjects.Signer>{signer}; role.id = 'signer1';
Results
Once you've sent your package for signing and the transaction, each of your signers will receive an emails with a link to the signed documents.